package com.pf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author PanFei
 * @version 1.0.0
 * @createTime 2021/12/19 20:53
 */
@Controller
@RequestMapping("/pages")
public class LoginRegisterPageController {

    /**
     * 注册页面
     *
     * @return
     */
    @GetMapping("/register")
    public String register() {
        return "register";
    }

    /**
     * 登录页面
     *
     * @return
     */
    @GetMapping("/login")
    public String login() {
        return "login";
    }

    /**
     * 系统主页
     *
     * @return
     */
    @GetMapping("/main")
    public String main() {
        return "main";
    }


}
